package com.huidao.service;

import java.util.List;

import com.huidao.entity.Goods;
import com.huidao.entity.Shoppingcart;

public interface ShoppingcartService {
    public String  addShoppingcart(Shoppingcart shoppingcart);
	
	public String delShoppingcart(Long id);
	
	public String delAllShoppingcart();
	
	public String updateShoppingcart(Shoppingcart shoppingcart);
	
	public List<Shoppingcart> getAllListPage(int currentPage,Long id);
	
	public int getTotalCount();
	
	public String getUserShopnameByGoodsId(Long goodsid);
	
	public String clearShoppingcart(Long id);
}
